package com.sdy.auth.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sdy.auth.biz.model.SysUser;
import com.sdy.mvc.service.BaseService;

import java.util.Map;

/**
 * <p>
 * 用户基础信息表 服务类
 * </p>
 *
 * @author zzq
 * @since 2019-06-14
 */
public interface SysUserService extends BaseService<SysUser> {
    void saveUser(SysUser sysUser);
    void updateWithNullTime(SysUser user);
    IPage<SysUser> pageUserWithRole(IPage<SysUser> page, Map<String, Object> query, Integer roleId, Boolean contain);

    void modifyPassword(Integer userId, String password);
}
